<template>
  <div id="drawBoard">
    <DrawBoard></DrawBoard>
  </div>
</template>
<script>
import DrawBoard from '@/components/draw/index.vue'
import { mapActions } from 'vuex';
export default {
  components:{
    DrawBoard
  },
  created(){
    this.list_add({
      id: new Date().getTime(),
      screenshot:''
    })
    this.activeBoardIndex_update(0)
  },
  methods:{
    ...mapActions({
      list_add:'draw/list_add',
      activeBoardIndex_update:'draw/activeBoardIndex_update'
    })
  }
}
</script>
<style>
  #drawBoard{
    width: 100%;
    height: 100vh;
  }
</style>